<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>采购入库</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!--标准mui.css-->
		<link href="../../dep/mui/css/mui.css" rel="stylesheet" />
		<link href="../../css/style.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/page/purchase/index.css" />
	</head>

	<body>
		<header id="header" class="mui-bar mui-bar-nav header-lay">
			<h1 class="mui-title">采购入库</h1>
			<button class=" mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
		    	<span class="mui-icon mui-icon-left-nav"></span>返回</button>
			<a href="../newBuy/newBuyInOrder.html" class="mui-btn  mui-btn-blue mui-btn-link mui-pull-right">新增</a>
		</header>

		<div class="mui-content">
			<div class='tipsConInit'></div>
			<ul class="mui-row pop-tab">
				<li class="mui-col-xs-5 mui-col-sm-5 pop-tab-title1 pop-tab-titleitem">
					日期<span class="mui-icon mui-icon-arrowdown"></span></li>
				<li class="mui-col-xs-5 mui-col-sm-5 pop-tab-title2 pop-tab-titleitem">
					状态<span class="mui-icon mui-icon-arrowdown"></span></li>
				<li id="chioce-search" class="mui-col-xs-2 mui-col-sm-2"><span></span></li>
			</ul>
			<div id="pullrefresh" class="mui-scroll-wrapper">
				<div class="mui-scroll">
					<ul id="listOutPirchase" class="mui-table-view mui-table-view-striped mui-table-view-condensed list-con">
					</ul>
				</div>
			</div>
			<div class="mui-backdrop mui-active pop-back"></div>
			<div class="pop-tab-contdata pop-tab-conitem pop-tab-con1">
				<ul class="mui-table-view mui-table-view-radio">
					<li id="allDay" class="mui-table-view-cell mui-selected">
						<a class="mui-navigate-right">
							全部
						</a>
					</li>
					<li id="nowDay" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							今日
						</a>
					</li>
					<li id="nowWeek" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							本周
						</a>
					</li>
					<li id="lastWeek" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							上周
						</a>
					</li>
					<li id="nowMonth" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							本月
						</a>
					</li>
					<li id="lastMonth" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							上月
						</a>
					</li>
				</ul>
			</div>

			<div class="pop-tab-contstate pop-tab-conitem pop-tab-con2">
				<ul class="mui-table-view mui-table-view-radio">
					<li id="allStatus" class="mui-table-view-cell mui-selected">
						<a class="mui-navigate-right">
							全部
						</a>
					</li>
					<li id="Draft" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							草稿
						</a>
					</li>
					<li id="WaitingAudit" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							待一级评审
						</a>
					</li>
					<li id="WaitingAuditLevel2" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							待二级评审
						</a>
					</li>
					<li id="WaitingAuditLevel3" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							待三级评审
						</a>
					</li>
					<li id="Finish" class="mui-table-view-cell">
						<a class="mui-navigate-right">
							生效
						</a>
					</li>
				</ul>
			</div>

		</div>

		<script type="text/html" id="outPirchaseList">
			{{each items}}
			<li id="{{$value.id}}" data-SourceType="{{$value.sourceType}}" data-SourceID="{{$value.sourceId}}" class="mui-table-view-cell">
				<a href="outPurchase.html">
					<div class="mui-table">
						<div class="mui-table-cell mui-col-xs-6">
							<p class="list-color1">{{$value.serialNo}}</p>
							<p class="dateRest">{{$value.serialDate}}</p>
							<p>{{$value.totalAmount}}元</p>
						</div>
						<div class="mui-table-cell mui-col-xs-6 mui-text-right listmagin">
							<p>信息</p>
							<p class="statusId" data-statusId="{{$value.statusId}}">{{$value.statusName}}</p>
							<p>{{$value.operatorName }}/<span class="dateRest">{{$value.dataCreated}}</span></p>
						</div>
					</div>
				</a>
			</li>
			{{/each}}
		</script>

	</body>

</html>
<script src="http://g.alicdn.com/ilw/ding/0.8.9/scripts/dingtalk.js"></script>
<script src="../../dep/seajs/3.0.0/sea.js"></script>
<script src="../../js/seajs_config.js"></script>
<script>
	seajs.use(["../../js/purchase/init", "../../js/outPurchase/outPurchaseList"])
</script>